package com.llmm.eduService.service;

import com.llmm.eduService.entity.EduTeacher;

import java.util.List;
import java.util.Map;

public interface EduTeacherService {
    //条件分页查询所有教师信息 （offset , size , name ,level）
    List<EduTeacher> queryTeachers(Map<String,Object> map);

    //查询教师总数
    Integer countTeachers(Map<String,Object> map);

    //根据id查询教师信息
    EduTeacher queryTeacherById(String id);

    //根据id删除教师信息
    Integer deleteById(String ids);

    //新增教师信息
    Integer saveTeacher(EduTeacher teacher);

    //修改教师信息
    Integer updateTeacher(EduTeacher teacher);
}
